<include file="Public:header" />
<div class="container main"> <include file="Public:left" />
  <div class="w790">
    <h1><a href="{:U('add')}" class="addbtn">添加数据</a></h1>
     <div class="table_"><table class="table table-bordered" width="100%" border="0" cellpadding="0" cellspacing="0">
 <thead>
 <tr>
    <td align="center">ID</td>
    <td align="center">标题</td>
    <td align="center">操作</td>
  </tr> 
</thead>
<volist name="list" id="vo">
  <tr class="data_list">
    <td align="center"><input type="checkbox" name="id" id="id" class="sall" value="{$vo.id}" /></td>
    <td><a href="__APP__/{$siteid}/Member/Magic/index/Magic_id/{$vo['id']}" target="_blank">{$vo.title}</a></td>
    <td align="center"><a href="{:U('Magicuseraddnumber/index',array('magic_id' => $vo['id']))}">参与对象</a> | <a href="{:U('edit',array('id'=>$vo['id']))}">编辑</a> | <a href="{:U('delete',array('id'=>$vo['id']))}" onclick="return confirm('您确定要删除这条记录吗？');">删除</a></td>
  </tr>
</volist> 
  <tr> 
    <td colspan="3"><a href="javascript:void(0);" onclick="sall();">全选/反选</a> <a href="javascript:void(0);" onclick="rall();">全不选</a> <a href="javascript:void(0);" onclick="delall();">删除选中</a> <a href="javascript:void(0);" onclick="update_sort();">更新排序</a></td>
    </tr><tr> 
    <td colspan="3"><div class="pages">{$pages}</div></td>
    </tr>
</table></div>

  </div>
  <div class="clear"></div>
</div>

<include file="Public:footer" />